How many bytes of a file of size 1023 will be read by the following piece of code? char buf[256]; while (read(fd - buf - 256)) { /* Take some action */ }

🎲 Try a Random Question  |  Total Questions in Quiz: 91  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
System Programming Fundamentals Test — practice the complete quiz, review flashcards, or try a random question.


How many bytes of a file of size 1023 will be read by the following piece of code? char buf[256]; <snip> while (read(fd - buf - 256)) { /* Take some action */ } <snip>